
int nextWakeupTick;
int lastTick;


void addLastLinkToList(int proc, int aList);
int isEmptyList(int aLinkedList);

void putToSleep(int aProcess);
int removeFirstLinkOfList(int aList);
void resume(int aProcess);

int schedulerPointer();
void externalSignal(int n);
void signalExternalSemaphores();
void synchronousSignal(int aSemaphore);
void transferTo(int aProc );
void newActiveContext(int aContext);
int wakeHighestPriority();
void primitiveResume();
void primitiveSignal();
void primitiveSuspend();
void primitiveWait();
void primitiveSignalAtMilliseconds();
void checkForInterrupts();
void primRelinquishProcessor();
